package com.st.buy.manager.service;

import com.st.buy.manager.mapper.TbItemMapper;
import com.st.buy.pojo.TbItem;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 徐阳顺
 * @create 2021-04-17 16:07
 */
@Service
public class ItemServiceImpl implements ItemService{
    @Autowired
    private TbItemMapper itemMapper;
    @Override
    public TbItem queryById(long itemId) {
        return itemMapper.selectById(itemId);
    }
}
